\hypertarget{classCLcg}{
\section{\-C\-Lcg \-Class \-Reference}
\label{classCLcg}\index{\-C\-Lcg@{\-C\-Lcg}}
}


{\ttfamily \#include $<$lcg.\-h$>$}

\-Inheritance diagram for \-C\-Lcg\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classCLcg}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCLcg_a902c69b7dfd3baf4fa0a99d7cee04c05}{\-C\-Lcg} (int16\-\_\-t p\-Seed=\hyperlink{classCLcg_a42af412cadd2742304b96f3d6bbd0500}{s\-Default\-Seed}, int16\-\_\-t p\-Multiplier=\hyperlink{classCLcg_aa4cb90fe9885e941136e5512fa8848b3}{s\-Default\-Multiplier}, int16\-\_\-t p\-Increment=\hyperlink{classCLcg_a34b5e51f4cf1d76ceeeda64e50e88771}{s\-Default\-Increment}, int16\-\_\-t p\-Modulo=\hyperlink{classCLcg_a01310d87d833f60de8ffacf3db3bc881}{s\-Default\-Modulo})
\item 
virtual \hyperlink{classCLcg_a86cbed8cad62b0ce1194add1ba147c06}{$\sim$\-C\-Lcg} ()
\item 
int16\-\_\-t \hyperlink{classCLcg_a3d0d9cba0dcd6692337cf30139729298}{get\-Rand} ()
\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
int16\-\_\-t \hyperlink{classCLcg_aba57a019826333dea2bb61f4034fe746}{m\-Seed}
\item 
int16\-\_\-t \hyperlink{classCLcg_aee4868aca2b5d4da589fe1f179507db4}{m\-Multiplier}
\item 
int16\-\_\-t \hyperlink{classCLcg_a70208e9539b5142a639b8ad21290a08f}{m\-Increment}
\item 
int16\-\_\-t \hyperlink{classCLcg_a412334c16d603d4473b448e7aa784a5d}{m\-Modulo}
\end{DoxyCompactItemize}
\subsection*{\-Static \-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
static const int16\-\_\-t \hyperlink{classCLcg_a42af412cadd2742304b96f3d6bbd0500}{s\-Default\-Seed} = 1
\item 
static const int16\-\_\-t \hyperlink{classCLcg_aa4cb90fe9885e941136e5512fa8848b3}{s\-Default\-Multiplier} = 7
\item 
static const int16\-\_\-t \hyperlink{classCLcg_a34b5e51f4cf1d76ceeeda64e50e88771}{s\-Default\-Increment} = 5
\item 
static const int16\-\_\-t \hyperlink{classCLcg_a01310d87d833f60de8ffacf3db3bc881}{s\-Default\-Modulo} = 29
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classCLcg_a902c69b7dfd3baf4fa0a99d7cee04c05}{
\index{\-C\-Lcg@{\-C\-Lcg}!\-C\-Lcg@{\-C\-Lcg}}
\index{\-C\-Lcg@{\-C\-Lcg}!CLcg@{\-C\-Lcg}}
\subsubsection[{\-C\-Lcg}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Lcg\-::\-C\-Lcg (
\begin{DoxyParamCaption}
\item[{int16\-\_\-t}]{p\-Seed = {\ttfamily {\bf s\-Default\-Seed}}, }
\item[{int16\-\_\-t}]{p\-Multiplier = {\ttfamily {\bf s\-Default\-Multiplier}}, }
\item[{int16\-\_\-t}]{p\-Increment = {\ttfamily {\bf s\-Default\-Increment}}, }
\item[{int16\-\_\-t}]{p\-Modulo = {\ttfamily {\bf s\-Default\-Modulo}}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classCLcg_a902c69b7dfd3baf4fa0a99d7cee04c05}
\-Linear congruential generator 
\begin{DoxyParams}{\-Parameters}
{\em p\-Seed} & starting value \\
\hline
{\em p\-Multiplier} & \\
\hline
{\em p\-Increment} & \\
\hline
{\em p\-Modulo} & \\
\hline
\end{DoxyParams}
\hypertarget{classCLcg_a86cbed8cad62b0ce1194add1ba147c06}{
\index{\-C\-Lcg@{\-C\-Lcg}!$\sim$\-C\-Lcg@{$\sim$\-C\-Lcg}}
\index{$\sim$\-C\-Lcg@{$\sim$\-C\-Lcg}!CLcg@{\-C\-Lcg}}
\subsubsection[{$\sim$\-C\-Lcg}]{\setlength{\rightskip}{0pt plus 5cm}virtual \-C\-Lcg\-::$\sim$\-C\-Lcg (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classCLcg_a86cbed8cad62b0ce1194add1ba147c06}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classCLcg_a3d0d9cba0dcd6692337cf30139729298}{
\index{\-C\-Lcg@{\-C\-Lcg}!get\-Rand@{get\-Rand}}
\index{get\-Rand@{get\-Rand}!CLcg@{\-C\-Lcg}}
\subsubsection[{get\-Rand}]{\setlength{\rightskip}{0pt plus 5cm}int16\-\_\-t \-C\-Lcg\-::get\-Rand (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCLcg_a3d0d9cba0dcd6692337cf30139729298}
calculates random number 

\-Reimplemented from \hyperlink{classIPrng_add8903347745c2743d4fc0f35976e848}{\-I\-Prng}.



\subsection{\-Member \-Data \-Documentation}
\hypertarget{classCLcg_a70208e9539b5142a639b8ad21290a08f}{
\index{\-C\-Lcg@{\-C\-Lcg}!m\-Increment@{m\-Increment}}
\index{m\-Increment@{m\-Increment}!CLcg@{\-C\-Lcg}}
\subsubsection[{m\-Increment}]{\setlength{\rightskip}{0pt plus 5cm}int16\-\_\-t {\bf \-C\-Lcg\-::m\-Increment}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCLcg_a70208e9539b5142a639b8ad21290a08f}


\-Reimplemented from \hyperlink{classIPrng_a1f48722ff7b20ff4138a86914ee15787}{\-I\-Prng}.

\hypertarget{classCLcg_a412334c16d603d4473b448e7aa784a5d}{
\index{\-C\-Lcg@{\-C\-Lcg}!m\-Modulo@{m\-Modulo}}
\index{m\-Modulo@{m\-Modulo}!CLcg@{\-C\-Lcg}}
\subsubsection[{m\-Modulo}]{\setlength{\rightskip}{0pt plus 5cm}int16\-\_\-t {\bf \-C\-Lcg\-::m\-Modulo}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCLcg_a412334c16d603d4473b448e7aa784a5d}


\-Reimplemented from \hyperlink{classIPrng_a22d33dc8259f76b5788545bdd85985e9}{\-I\-Prng}.

\hypertarget{classCLcg_aee4868aca2b5d4da589fe1f179507db4}{
\index{\-C\-Lcg@{\-C\-Lcg}!m\-Multiplier@{m\-Multiplier}}
\index{m\-Multiplier@{m\-Multiplier}!CLcg@{\-C\-Lcg}}
\subsubsection[{m\-Multiplier}]{\setlength{\rightskip}{0pt plus 5cm}int16\-\_\-t {\bf \-C\-Lcg\-::m\-Multiplier}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCLcg_aee4868aca2b5d4da589fe1f179507db4}


\-Reimplemented from \hyperlink{classIPrng_af6eb18c3792432a8f90040d9c44ad038}{\-I\-Prng}.

\hypertarget{classCLcg_aba57a019826333dea2bb61f4034fe746}{
\index{\-C\-Lcg@{\-C\-Lcg}!m\-Seed@{m\-Seed}}
\index{m\-Seed@{m\-Seed}!CLcg@{\-C\-Lcg}}
\subsubsection[{m\-Seed}]{\setlength{\rightskip}{0pt plus 5cm}int16\-\_\-t {\bf \-C\-Lcg\-::m\-Seed}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCLcg_aba57a019826333dea2bb61f4034fe746}


\-Reimplemented from \hyperlink{classIPrng_a55421680c6ee7acbee1c985d52b1d423}{\-I\-Prng}.

\hypertarget{classCLcg_a34b5e51f4cf1d76ceeeda64e50e88771}{
\index{\-C\-Lcg@{\-C\-Lcg}!s\-Default\-Increment@{s\-Default\-Increment}}
\index{s\-Default\-Increment@{s\-Default\-Increment}!CLcg@{\-C\-Lcg}}
\subsubsection[{s\-Default\-Increment}]{\setlength{\rightskip}{0pt plus 5cm}const int16\-\_\-t {\bf \-C\-Lcg\-::s\-Default\-Increment} = 5\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCLcg_a34b5e51f4cf1d76ceeeda64e50e88771}


\-Reimplemented from \hyperlink{classIPrng_afee971a69deef2efdac6174407749104}{\-I\-Prng}.

\hypertarget{classCLcg_a01310d87d833f60de8ffacf3db3bc881}{
\index{\-C\-Lcg@{\-C\-Lcg}!s\-Default\-Modulo@{s\-Default\-Modulo}}
\index{s\-Default\-Modulo@{s\-Default\-Modulo}!CLcg@{\-C\-Lcg}}
\subsubsection[{s\-Default\-Modulo}]{\setlength{\rightskip}{0pt plus 5cm}const int16\-\_\-t {\bf \-C\-Lcg\-::s\-Default\-Modulo} = 29\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCLcg_a01310d87d833f60de8ffacf3db3bc881}


\-Reimplemented from \hyperlink{classIPrng_a42786cf080952d0596dff3326456bbad}{\-I\-Prng}.

\hypertarget{classCLcg_aa4cb90fe9885e941136e5512fa8848b3}{
\index{\-C\-Lcg@{\-C\-Lcg}!s\-Default\-Multiplier@{s\-Default\-Multiplier}}
\index{s\-Default\-Multiplier@{s\-Default\-Multiplier}!CLcg@{\-C\-Lcg}}
\subsubsection[{s\-Default\-Multiplier}]{\setlength{\rightskip}{0pt plus 5cm}const int16\-\_\-t {\bf \-C\-Lcg\-::s\-Default\-Multiplier} = 7\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCLcg_aa4cb90fe9885e941136e5512fa8848b3}


\-Reimplemented from \hyperlink{classIPrng_a3324e6293815cc30f422d71e90dfefe8}{\-I\-Prng}.

\hypertarget{classCLcg_a42af412cadd2742304b96f3d6bbd0500}{
\index{\-C\-Lcg@{\-C\-Lcg}!s\-Default\-Seed@{s\-Default\-Seed}}
\index{s\-Default\-Seed@{s\-Default\-Seed}!CLcg@{\-C\-Lcg}}
\subsubsection[{s\-Default\-Seed}]{\setlength{\rightskip}{0pt plus 5cm}const int16\-\_\-t {\bf \-C\-Lcg\-::s\-Default\-Seed} = 1\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classCLcg_a42af412cadd2742304b96f3d6bbd0500}


\-Reimplemented from \hyperlink{classIPrng_a410f565ae23576124cde8732a4095fbe}{\-I\-Prng}.



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{lcg_8h}{lcg.\-h}\item 
\hyperlink{lcg_8cxx}{lcg.\-cxx}\end{DoxyCompactItemize}
